
package com.scm.biz.dao;

import java.util.List;

import com.scm.biz.bean.BusinessConstant;
import com.scm.biz.query.BusinessConstantQuery;

public interface BusinessConstantDao {
    int deleteByPrimaryKey(Long id);

    int insert(BusinessConstant record);

    int insertSelective(BusinessConstant record);

    BusinessConstant selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BusinessConstant record);

    int updateByPrimaryKey(BusinessConstant record);
    
    List<Integer> selectByQuery(BusinessConstantQuery businessConstantQuery);
    List<String> selectByQuery1(BusinessConstantQuery businessConstantQuery);
    /**
     * 根据客户ID，删除业务分类表记录
     * @param customerId
     * @return
     */
    int deleteByCustomerId(int customerId,String category);
    
    int deleteByBusinessId(BusinessConstant businessConstant);
    
    int updateByBusinessId(BusinessConstant businessConstant);
}